/**    
* @Title: IWebsocketApi.java
* @Package: org.vdalf.gsgz.api.impl
* @author vDalf 2020-09-26 11:29:07 上午11:29:07
* @Copyright © 2020 vDalf Block-Chain Foundation (In Preparation Non-Governmental Organization) All rights reserved.
*/
package org.vdalf.gsgz.api.impl;

/**    
* @Title: IWebsocketApi.java
* @Package: org.vdalf.gsgz.api.impl
* @Description: 
* @author vDalf 2020-09-26 11:29:07 上午11:29:07
*/
public interface IWebsocketApi {

	public void open();
	
	public void subscribe(String channel);
	
	public default void unsubscribe(String channel) {
		// nothing to do
	}
	
	
}
